Integrand size = 20, antiderivative size = 104 \[ \int \frac {x^3 (A+B x)}{\sqrt {a+b x^2}} \, dx=\frac {A x^2 \sqrt {a+b x^2}}{3 b}+\frac {B x^3 \sqrt {a+b x^2}}{4 b}-\frac {a (16 A+9 B x) \sqrt {a+b x^2}}{24 b^2}+\frac {3 a^2 B \text {arctanh}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{8 b^{5/2}} \]
[Out]
Time = 0.05 (sec) , antiderivative size = 104, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {847, 794, 223, 212} \[ \int \frac {x^3 (A+B x)}{\sqrt {a+b x^2}} \, dx=\frac {3 a^2 B \text {arctanh}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{8 b^{5/2}}-\frac {a \sqrt {a+b x^2} (16 A+9 B x)}{24 b^2}+\frac {A x^2 \sqrt {a+b x^2}}{3 b}+\frac {B x^3 \sqrt {a+b x^2}}{4 b} \]
[In]
[Out]
Rule 212
Rule 223
Rule 794
Rule 847
Rubi steps \begin{align*} \text {integral}& = \frac {B x^3 \sqrt {a+b x^2}}{4 b}+\frac {\int \frac {x^2 (-3 a B+4 A b x)}{\sqrt {a+b x^2}} \, dx}{4 b} \\ & = \frac {A x^2 \sqrt {a+b x^2}}{3 b}+\frac {B x^3 \sqrt {a+b x^2}}{4 b}+\frac {\int \frac {x (-8 a A b-9 a b B x)}{\sqrt {a+b x^2}} \, dx}{12 b^2} \\ & = \frac {A x^2 \sqrt {a+b x^2}}{3 b}+\frac {B x^3 \sqrt {a+b x^2}}{4 b}-\frac {a (16 A+9 B x) \sqrt {a+b x^2}}{24 b^2}+\frac {\left (3 a^2 B\right ) \int \frac {1}{\sqrt {a+b x^2}} \, dx}{8 b^2} \\ & = \frac {A x^2 \sqrt {a+b x^2}}{3 b}+\frac {B x^3 \sqrt {a+b x^2}}{4 b}-\frac {a (16 A+9 B x) \sqrt {a+b x^2}}{24 b^2}+\frac {\left (3 a^2 B\right ) \text {Subst}\left (\int \frac {1}{1-b x^2} \, dx,x,\frac {x}{\sqrt {a+b x^2}}\right )}{8 b^2} \\ & = \frac {A x^2 \sqrt {a+b x^2}}{3 b}+\frac {B x^3 \sqrt {a+b x^2}}{4 b}-\frac {a (16 A+9 B x) \sqrt {a+b x^2}}{24 b^2}+\frac {3 a^2 B \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{8 b^{5/2}} \\ \end{align*}
Time = 0.15 (sec) , antiderivative size = 77, normalized size of antiderivative = 0.74 \[ \int \frac {x^3 (A+B x)}{\sqrt {a+b x^2}} \, dx=\frac {\sqrt {a+b x^2} \left (-16 a A-9 a B x+8 A b x^2+6 b B x^3\right )}{24 b^2}-\frac {3 a^2 B \log \left (-\sqrt {b} x+\sqrt {a+b x^2}\right )}{8 b^{5/2}} \]
[In]
[Out]
Time = 3.39 (sec) , antiderivative size = 65, normalized size of antiderivative = 0.62
method | result | size |
risch | \(-\frac {\left (-6 b B \,x^{3}-8 A b \,x^{2}+9 B a x +16 A a \right ) \sqrt {b \,x^{2}+a}}{24 b^{2}}+\frac {3 a^{2} B \ln \left (x \sqrt {b}+\sqrt {b \,x^{2}+a}\right )}{8 b^{\frac {5}{2}}}\) | \(65\) |
default | \(B \left (\frac {x^{3} \sqrt {b \,x^{2}+a}}{4 b}-\frac {3 a \left (\frac {x \sqrt {b \,x^{2}+a}}{2 b}-\frac {a \ln \left (x \sqrt {b}+\sqrt {b \,x^{2}+a}\right )}{2 b^{\frac {3}{2}}}\right )}{4 b}\right )+A \left (\frac {x^{2} \sqrt {b \,x^{2}+a}}{3 b}-\frac {2 a \sqrt {b \,x^{2}+a}}{3 b^{2}}\right )\) | \(101\) |
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 158, normalized size of antiderivative = 1.52 \[ \int \frac {x^3 (A+B x)}{\sqrt {a+b x^2}} \, dx=\left [\frac {9 \, B a^{2} \sqrt {b} \log \left (-2 \, b x^{2} - 2 \, \sqrt {b x^{2} + a} \sqrt {b} x - a\right ) + 2 \, {\left (6 \, B b^{2} x^{3} + 8 \, A b^{2} x^{2} - 9 \, B a b x - 16 \, A a b\right )} \sqrt {b x^{2} + a}}{48 \, b^{3}}, -\frac {9 \, B a^{2} \sqrt {-b} \arctan \left (\frac {\sqrt {-b} x}{\sqrt {b x^{2} + a}}\right ) - {\left (6 \, B b^{2} x^{3} + 8 \, A b^{2} x^{2} - 9 \, B a b x - 16 \, A a b\right )} \sqrt {b x^{2} + a}}{24 \, b^{3}}\right ] \]
[In]
[Out]
Time = 0.40 (sec) , antiderivative size = 121, normalized size of antiderivative = 1.16 \[ \int \frac {x^3 (A+B x)}{\sqrt {a+b x^2}} \, dx=\begin {cases} \frac {3 B a^{2} \left (\begin {cases} \frac {\log {\left (2 \sqrt {b} \sqrt {a + b x^{2}} + 2 b x \right )}}{\sqrt {b}} & \text {for}\: a \neq 0 \\\frac {x \log {\left (x \right )}}{\sqrt {b x^{2}}} & \text {otherwise} \end {cases}\right )}{8 b^{2}} + \sqrt {a + b x^{2}} \left (- \frac {2 A a}{3 b^{2}} + \frac {A x^{2}}{3 b} - \frac {3 B a x}{8 b^{2}} + \frac {B x^{3}}{4 b}\right ) & \text {for}\: b \neq 0 \\\frac {\frac {A x^{4}}{4} + \frac {B x^{5}}{5}}{\sqrt {a}} & \text {otherwise} \end {cases} \]
[In]
[Out]
none
Time = 0.22 (sec) , antiderivative size = 88, normalized size of antiderivative = 0.85 \[ \int \frac {x^3 (A+B x)}{\sqrt {a+b x^2}} \, dx=\frac {\sqrt {b x^{2} + a} B x^{3}}{4 \, b} + \frac {\sqrt {b x^{2} + a} A x^{2}}{3 \, b} - \frac {3 \, \sqrt {b x^{2} + a} B a x}{8 \, b^{2}} + \frac {3 \, B a^{2} \operatorname {arsinh}\left (\frac {b x}{\sqrt {a b}}\right )}{8 \, b^{\frac {5}{2}}} - \frac {2 \, \sqrt {b x^{2} + a} A a}{3 \, b^{2}} \]
[In]
[Out]
none
Time = 0.30 (sec) , antiderivative size = 74, normalized size of antiderivative = 0.71 \[ \int \frac {x^3 (A+B x)}{\sqrt {a+b x^2}} \, dx=\frac {1}{24} \, \sqrt {b x^{2} + a} {\left ({\left (2 \, {\left (\frac {3 \, B x}{b} + \frac {4 \, A}{b}\right )} x - \frac {9 \, B a}{b^{2}}\right )} x - \frac {16 \, A a}{b^{2}}\right )} - \frac {3 \, B a^{2} \log \left ({\left | -\sqrt {b} x + \sqrt {b x^{2} + a} \right |}\right )}{8 \, b^{\frac {5}{2}}} \]
[In]
[Out]
Timed out. \[ \int \frac {x^3 (A+B x)}{\sqrt {a+b x^2}} \, dx=\int \frac {x^3\,\left (A+B\,x\right )}{\sqrt {b\,x^2+a}} \,d x \]
[In]
[Out]